package com.software.chemistry.entity;


import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Message {

  @Id
  private String messageId;
  private String senderId;
  private String receiverId;
  private String messageDetail;
  private long type;
  private String date ;

  public String getDate() {
    return date;
  }

  public void setDate(String date) {
    this.date = date;
  }
  public String getMessageId() {
    return messageId;
  }

  public void setMessageId(String messageId) {
    this.messageId = messageId;
  }


  public String getSenderId() {
    return senderId;
  }

  public void setSenderId(String senderId) {
    this.senderId = senderId;
  }


  public String getReceiverId() {
    return receiverId;
  }

  public void setReceiverId(String receiverId) {
    this.receiverId = receiverId;
  }


  public String getMessageDetail() {
    return messageDetail;
  }

  public void setMessageDetail(String messageDetail) {
    this.messageDetail = messageDetail;
  }


  public long getType() {
    return type;
  }

  public void setType(long type) {
    this.type = type;
  }

}
